package mobi.zeedev.flyingsaucer.common.CredentialsModule.interfaces;

import org.apache.http.cookie.Cookie;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * User: James
 * Date: 1/29/11
 * Time: 9:11 PM
 */
public interface ICredentials {


    void reset();

    List<Cookie> generateCookieInfo();

    Map<String, String> getLoginParams();

    Boolean isLoggedIn();

    Boolean isLoginAvailable();

    Boolean isDownloadPairComplete();

    Boolean isMasterRefreshCompletedWithLogin();

    Boolean hasMemberId();

    Boolean hasOriginDate();

    Boolean permittedLogin();

    void setPassword(String loginPassword);

    void setUserName(String user);

    Integer getDBId();

    String getPasswordHash();

    Boolean getUfoAutoLogin();

    String getCardNumber();

    String getPassword();

    Boolean getUfoRemember();

    String getStoreNumber();

    Integer getMemberId();

    Date getOriginDate();

    String getUserName();

    void setDBId(Integer id);

    void setPasswordHash(String hash);

    void setUfoAutoLogin(Boolean loginAuto);

    void setCardNumber(String loginCard);

    void setUfoRemember(Boolean loginRemember);

    void setStoreNumber(String loginStore);

    void setMemberId(Integer memberID);

    void setOriginDate(Date originDate);

    void setUfoMouMember(Boolean ufoMouMember);

    Boolean getUfoMouMember();

    void setUfoNonMember(Boolean b);

    Boolean getUfoNonMember();
}
